package com.myblog.service.impl;

import com.myblog.mapper.Articlemapper;
import com.myblog.pojo.Article;
import com.myblog.service.Articleservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

@Service
public class Articleserviceimpl implements Articleservice {
    @Autowired
    private Articlemapper articlemapper;

    @Override
    public List<Article> find() {
        return articlemapper.find();
    }

    @Override
    public List<Article> findtag(String tag) {
        return articlemapper.findtag(tag);
    }
}
